#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<assert.h>

char* my_strcpy(char* str1, const char* str2)
{
	assert(str1 && str2);
	char* ret = str1;
	while (*str1++ = *str2++)
	{
		;
	}
	return ret;
}

int main()
{
	char arr1[20] = "############";
	char arr2[10] = { 0 };
	gets(arr2);
	char* ret = my_strcpy(arr1, arr2);
	printf("%s\n", ret);
	return 0;
}